package vn.orderonline.com.core.business.restaurant;

import java.util.List;
import java.util.Map;

import vn.orderonline.com.core.business.dto.ChooseDrinkDto;
import vn.orderonline.com.core.business.dto.ChooseFoodDto;
import vn.orderonline.com.core.business.dto.RestaurantDto;

public interface IRestaurantManager {
			
	public List<RestaurantDto> search(RestaurantDto res);
	
	public List<RestaurantDto> getAllRestaurants();
	
	public RestaurantDto getRestaurantById(Integer id, String property);
	
	public void add(RestaurantDto res);
	
	public Boolean checkExistedRestaurant(String restaurantName);
	
	public void delete(Integer id);
	
	public Boolean update(RestaurantDto res);
	
	public Map<String, String> getAllRestaurantIdAndName();
	
	public List<RestaurantDto> findRestaurantByCityIdAndDeliverHome(Integer cityId, String deliverHome);
	
	public String getRestaurantNameByRestaurantId(Integer restaurantId);
	
	public List<ChooseFoodDto> chooseFood(Integer resId);
	
	public List<ChooseDrinkDto> chooseDrink(Integer resId);
	
	public List<String> getMenu(Integer resId);
		
}
